<?php /* Smarty version Smarty-3.1.12, created on 2016-07-11 16:48:55
         compiled from "D:\phpStudy\WWW\demonew\m\template\model\banner.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1290957835d77b5c2f0-87598186%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7f54a08f67663663d9d47b697cdb2917bfeab320' => 
    array (
      0 => 'D:\\phpStudy\\WWW\\demonew\\m\\template\\model\\banner.tpl',
      1 => 1449645820,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1290957835d77b5c2f0-87598186',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'ads_zone4' => 0,
    'volist' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_57835d77b6e6a7_57208566',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_57835d77b6e6a7_57208566')) {function content_57835d77b6e6a7_57208566($_smarty_tpl) {?><div class="scroll">
   <div class="slide_01" id="slide_01">
      <?php  $_smarty_tpl->tpl_vars['volist'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['volist']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['ads_zone4']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['volist']->key => $_smarty_tpl->tpl_vars['volist']->value){
$_smarty_tpl->tpl_vars['volist']->_loop = true;
?>
	     <li class="mod_01"><a href="<?php echo $_smarty_tpl->tpl_vars['volist']->value['url'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['volist']->value['uploadfiles'];?>
"></a></li>
      <?php } ?>
    </div>
	<div class="dotModule_new">
		<div id="slide_01_dot"></div>
	</div>
</div>
<script type="text/javascript">

    	// var m_width=$(window).width();
    	var m_width=$(document.body).width();
	    $('.scroll').css('width',m_width);
	    $('.mod_01').css('width',m_width);
	    $('.mod_01 img').css('width',m_width);
    	if(document.getElementById("slide_01")){
			var slide_01 = new ScrollPic();
			slide_01.scrollContId   = "slide_01"; //内容容器ID
			slide_01.dotListId      = "slide_01_dot";//点列表ID
			slide_01.dotOnClassName = "selected";
			slide_01.arrLeftId      = "sl_left"; //左箭头ID
			slide_01.arrRightId     = "sl_right";//右箭头ID
			slide_01.frameWidth     = m_width;
			slide_01.pageWidth      = m_width;
			slide_01.upright        = false;
			slide_01.speed          = 5;
			slide_01.space          = 30;
			slide_01.initialize(); //初始化
	    }
	    $(window).resize(function(){
	    	m_width=$(document.body).width();
		    $('.scroll').css('width',m_width);
		    $('.mod_01').css('width',m_width);
		    $('.mod_01 img').css('width',m_width);
		    slide_01.frameWidth     = m_width;
			slide_01.pageWidth      = m_width;
	    });



</script>

<script type="text/javascript">
var evt = "onorientationchange" in window ? "orientationchange" : "resize";

window.addEventListener(evt, function() {
     window.location.reload();
}, false);
</script>
<?php }} ?>